echo "Preparing..."
rm -rf /tmp/mac-builds/wget
mkdir -p /tmp/mac-builds/wget
cd /tmp/mac-builds/wget
echo "Downloading..."
curl ftp://ftp.gnu.org/gnu/wget/wget-1.14.tar.gz > wget.tar.gz
echo "Unpacking..."
tar xf wget.tar.gz
rm wget.tar.gz
cd wget*
echo "Configuring..."
./configure
echo "Building..."
make
echo "Installing..."
sudo make install
echo "Cleaning..."
cd ~/
rm -rf /tmp/mac-builds/wget
